<!--#include virtual="src/layuiadmin/lib/public.asp"-->
<%
Easp.NoCache
easp.var("username")=session("username")
dim ret,rs,fielda,i,fielda2
set rs=easp.db.sel("select * from 获得荣誉 where [ID]={id}")
if rs.RecordCount>=1 then
	fielda=split(easp.var("dy_hdry_f"),",")
	for i=0 to ubound(fielda)
		setv(fielda(i))
	next
end if
Function setv (name)
	easp.var(name)=rs(name)
End Function	
%>
<!DOCTYPE html>
<html>
<head>
<%easp.include "h.asp"%>
</head>
<body>
  <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">

	<%
	fielda=split(easp.var("dy_hdry_f"),",")
	fielda2=split(easp.var("dy_hdry_n"),",")
	for i=0 to ubound(fielda)
		Easp.Echo js2("input1.html",fielda(i),fielda2(i),easp.var(fielda(i)))
	next
	%>
	<input type="hidden" name="id" value="<%=easp.var("id")%>">	
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
  </div>

  <script src="../../../layuiadmin/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '../../../layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'set','form', 'upload','user'],function(){
    var $ = layui.$
    ,setter = layui.setter
    ,admin = layui.admin
    ,form = layui.form
    ,router = layui.router()
	    ,upload = layui.upload;  
     
  });
  </script>  
</body>
</html>